package com.hs.security.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.security.pojo.TbPermission;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郭敖
 * @since 2023-08-18
 */
public interface TbPermissionService extends IService<TbPermission> {

    List<TbPermission> findAll();

    Page<TbPermission> findByPage(Integer pageNum, Integer pageSize);
}
